<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/admintop.jsp"%>
<%@ include file="/jsp/viewtop.jsp"%>
<%@ include file="/jsp/jscommom.jsp"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>黑名单管理</title>
		<link href="/css/login.css" rel="stylesheet" type="text/css" />
	</head>
	<script type="text/javascript">
function domethod(){
if(document.all.status.value==""){
alert("对不起，状态不能为空！");
return;
}
document.all.method.value="edit";
document.forms[0].submit();
document.all.method.value="";
}
</script>
	<%
	String id = request.getParameter("ID");
	%>
	<body>
		<html:form action="/com/struts/system/editblack" method="post">
			<html:hidden property="method" />
			<input type="hidden" name="ID" value="<%=id%>" />
			<table width="880" border="0" align="center" cellpadding="0"
				cellspacing="1" class="line1">
				


				<tr>
					<td colspan="2" class="titlebg">
						<bean:write name="com_struts_system_QueryBlackForm"
							property="corporName" />
					</td>
				</tr>
				<tr>
					<td class="mtdtitle1">
						设置状态
					</td>
					<td class="mtdtextleft">
						<html:select property="status" styleClass="input1">
							<html:option value="">请选择</html:option>
							<html:option value="1">黑名单</html:option>
							<html:option value="0">正常</html:option>
						</html:select>
					</td>
				</tr>
				<tr>
					<td class="mtdtitle1" colspan="2">
						<input type="button" class="tbutton" onclick="domethod()"
							value="提交" />
						<input type="button" onclick="window.close();" class="tbutton" value="关闭" />
					</td>
				</tr>
			</table>
		</html:form>
	</body>
</html>
